tooltip: Fix possible wrong placement
authorOlivier Brunel <jjk@jjacky.com>
Tue, 15 Oct 2013 13:06:26 +0000 (15:06 +0200)
committerMatthias Clasen <mclasen@redhat.com>
Wed, 16 Oct 2013 01:13:48 +0000 (21:13 -0400)
commit14414d5946212996a8aac3dd49798a0d589b9e11
treea2ee0e4bbb26b2bc9dbae28b6cc002286ffcda94
parentd1e218f4ab7e68a2d85697ff830b27ff0c303b46
tooltip: Fix possible wrong placement

When showing a tooltip on the edge of a monitor, the tooltip could be wrongly
placed and be shown going from one monitor to the next.

This happened because the current_window wasn't set visible, and when it wasn't
the returned allocated size would be 1, hence wrong calculations.

Signed-off-by: Olivier Brunel <jjk@jjacky.com>
https://bugzilla.gnome.org/show_bug.cgi?id=698730
gtk/gtktooltip.c